package com.wangmengtao.upms.dao;

import com.wangmengtao.upms.model.UpmsUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName: UpmsUserDao
 * @Description: TODO
 * @Author: WangMengtao
 * @Data: 2019/6/5 17:15
 * @Version: 1.0.0
 */
@Mapper
public interface UpmsUserDao extends BaseDao<UpmsUser> {
    UpmsUser getByPhone(String phone);

    UpmsUser getByEmail(String email);

    List<UpmsUser> listByDeptId(Long deptId);

    int checkPhone(String phone);

    int checkEmail(String email);
}